<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $type 1：日榜，2：周榜，3：月榜，4：总榜
 * @property int $sub_type 1:财富榜，2:明星榜，3:人气榜，4:女神榜，5:男神榜
 * @property int $uid
 * @property int $score 各个指标值
 * @property int $hour 小时，0-23
 * @property string $date 日期
 */
class Ranking extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_ranking';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'type' => 'integer', 'sub_type' => 'integer', 'uid' => 'integer', 'score' => 'integer', 'hour' => 'integer'];
}
